package com.keycloak.admin.model.params.vo;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
public class UserSessionList {

    private String id;

    private String ipAddress;

    private String lastAccess;

    private String start;

    private String userId;

    private String username;

    private Map<Object,Object> clients;

    public Map<Object, Object> getClients() {
        return clients;
    }

    public void setClients(Map<Object, Object> clients) {
        this.clients = clients;
    }

    /* private String clients;

    public String getClients() {
        return clients;
    }

    public void setClients(String clients) {
        this.clients = clients;
    }*/

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getLastAccess() {
        return lastAccess;
    }

    public void setLastAccess(String lastAccess) {
        this.lastAccess = lastAccess;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "UserSessionList{" +
                "id='" + id + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", lastAccess='" + lastAccess + '\'' +
                ", start='" + start + '\'' +
                ", userId='" + userId + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}
